package com.example.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.dao.TestDao;
import com.example.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;

@Service(interfaceClass = TestService.class)
public class TestImpl implements TestService {
    @Autowired
    private TestDao testDao;
    @Override
    public void fun1() {
        int getnum = testDao.getnum();
        System.out.println("来了鲍勃啊数字num是版本2："+getnum);
    }
}
